<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--[if lt IE 7 ]> <html class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<title>预约详情 - 体检预约服务平台 - 医通在线</title>
	<link href="templates/css/global.css" rel="stylesheet" type="text/css" />
	<link href="templates/css/agency.css" rel="stylesheet" type="text/css" />
    <script src="templates/js/form.js" type="text/javascript"></script>
    <script src="templates/js/common.js" type="text/javascript"></script>
    <script src="templates/js/jquery-1.3.2.min.js" type="text/javascript"></script>
	<meta content="" name="Keywords">
	<meta name="description" content="" />
	<!--[if IE 6]>
	<script src="js/ddpng.js" type="text/javascript"></script>
	<script type="text/javascript">DD_belatedPNG.fix('.ddpng');</script>
    <![endif]--> 
    <script type="text/javascript">
  	$(document).ready(function(){
  		$('input[name=com_2]').click(function(){
  		var s = $(this).val();
  			if(s==1){
  				$('#show_1').hide();
  				$('#show_2').show();
  				$('#show_3').hide();
  				
  			}else if(s==2){
  				$('#show_1').hide();	
  				$('#show_2').hide();
  				$('#show_3').show();
  			}else{
  				$('#show_1').show();	
  				$('#show_2').hide();
  				$('#show_3').hide();
  			}
  		});
  	});
  	
    	function change_sl(k)
    	{
    	var area_id = $('#tid').val();
    	if(k==0){
    	area_id=0;
    	}
    	var zid		= $('#zid').val();
    		window.location.href="<{$__URL__}>store&code=<{$data_info.pcode}>&fd=<{$data_info.fd}>&area_id="+area_id+'&zid='+zid;
    	}
    	function change_ct()
    	{
    	var zid		= $('#zid').val();
    		window.location.href="<{$__URL__}>store&code=<{$data_info.pcode}>&fd=<{$data_info.fd}>&zid="+zid+"&ct=1'";
    	}
    </script>
    <script language="javascript">
 subcat = new Array();
  <{foreach from=$area item=ac_info name=foo}>
  		 subcat['<{$smarty.foreach.foo.index}>'] = new Array("<{$ac_info.store_name}>","<{$ac_info.city_id}>","<{$ac_info.store_id}>");
  <{/foreach}>
  var onecount=subcat.length;
 function changelocation(locationid)
    {
  document.search.tid.length = 1;
  var locationid=locationid;
  var i;
  var nindex;
  for (i=0;i < onecount; i++)
  {
   if (subcat[i][1] == locationid)
   {
    document.search.tid.options[document.search.tid.length] = new Option(subcat[i][0], subcat[i][2]);
   
   }       
  }
  
    }
  
 function doChange(objText, objDrop)
 {
  if (!objDrop) return;
  var str = objText.value;
  var arr = str.split("|");
  var nIndex = objDrop.selectedIndex;
  objDrop.length=1;
   for (var i=0; i<arr.length; i++){
    objDrop.options[objDrop.length] = new Option(arr[i], arr[i]);
   }
  objDrop.selectedIndex = nIndex;
 }
</script>
</head>
<body>

<!--header st-->
<{include file="../templates/$newtpl/header.html"}>

<div class="row bread_crumbs mb10"><a href="<{$__URL__}>myreservation" title="首页">首页</a>&gt;<a href="<{$__URL__}>ownexpense"> 套餐对比</a></div>

<div class="row mb10 center_layout fix">
	<div class="mx">
		<h4><{$productinfo.product_name}></h4>
				<table width="100%" class="table_gre">
					<thead>
					<tr>
						<th colspan='7' width="30">
						<div style="float:left">
				套餐对比明细（“★”代表套餐含有此项）
						<input type="radio" name='com_2' value="3" checked=checked  >&nbsp;显示全部
						<input type="radio" name='com_2' value="2" >&nbsp;显示不同点
						<input type="radio"  name='com_2' value="1"   >&nbsp;显示相同点
						　
						</div>
						</th>
						
					</tr>
					</thead>
				</table>
				<table width="100%" class="table_gre" id="show_1" style="display:;">
					<tr>
						<th width="40">中项名称</th>
						<th width="40">小项名称</th>
						<th width="40">检测意义</th>
						<th   width="30"><{$tc1_name.product_name}></th>
						<{if $tc2_name.product_name!=''}><th  width="30"><{$tc2_name.product_name}></th><{/if}>
						<{if $tc3_name.product_name!=''}><th  width="30"><{$tc3_name.product_name}></th><{/if}>
						<{if $tc4_name.product_name!=''}><th  width="30"><{$tc4_name.product_name}></th><{/if}>
					</tr>
				</thead>
			 	<{foreach from=$rep_msg item=ac_info}>
			 	
                                        <tbody>
                                            <tr>
                                            	<td width="30"><{$ac_info.big_name.big_name}></td>
                                                <td><{$ac_info.small_name.small_name}></td>
                                                 <td><{$ac_info.small_name.small_mean}></td>
                                                <td><{if $ac_info.a1 !=''}>★<{else}><{/if}></td>
                                                 <{if $tc2_name.product_name!=''}><td><{if $ac_info.a2 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc3_name.product_name!=''}><td><{if $ac_info.a3 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc4_name.product_name!=''}><td><{if $ac_info.a4 !=''}>★<{else}><{/if}></td><{/if}>
                                            </tr>
                                        </tbody>
                                <{/foreach}>
                  </table> 
                 <table width="100%" class="table_gre" id="show_2" style="display:none;">
					<tr>
						<th width="40">中项名称</th>
						<th width="40">小项名称</th>
						<th width="40">检测意义</th>
						<th   width="30"><{$tc1_name.product_name}></th>
						<{if $tc2_name.product_name!=''}><th  width="30"><{$tc2_name.product_name}></th><{/if}>
						<{if $tc3_name.product_name!=''}><th  width="30"><{$tc3_name.product_name}></th><{/if}>
						<{if $tc4_name.product_name!=''}><th  width="30"><{$tc4_name.product_name}></th><{/if}>
					</tr>
				</thead>
                 <{foreach from=$rep_msg item=ac_info}>
                 <{if $tc4_name.product_name!='' && $tc3_name.product_name!='' && $tc2_name.product_name!=''  }>
                	<{if $ac_info.a1 !='' && $ac_info.a2 !='' && $ac_info.a3 !='' && $ac_info.a4 !=''}>
                	
                                        <tbody>
                                            <tr>
                                            	<td><{$ac_info.big_name.big_name}></td>
                                                <td><{$ac_info.small_name.small_name}></td>
                                                 <td><{$ac_info.small_name.small_mean}></td>
                                                <td><{if $ac_info.a1 !=''}>★<{else}><{/if}></td>
                                                 <{if $tc2_name.product_name!=''}><td><{if $ac_info.a2 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc3_name.product_name!=''}><td><{if $ac_info.a3 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc4_name.product_name!=''}><td><{if $ac_info.a4 !=''}>★<{else}><{/if}></td><{/if}>
                                            </tr>
                                        </tbody>
                                   <{/if}>
                            <{elseif $tc3_name.product_name!='' && $tc2_name.product_name!='' }>
                            	<{if $ac_info.a1 !='' && $ac_info.a2 !='' && $ac_info.a3 !=''}>
                	
                                        <tbody>
                                            <tr>
                                            	<td><{$ac_info.big_name.big_name}></td>
                                                <td><{$ac_info.small_name.small_name}></td>
                                                 <td><{$ac_info.small_name.small_mean}></td>
                                                <td><{if $ac_info.a1 !=''}>★<{else}><{/if}></td>
                                                 <{if $tc2_name.product_name!=''}><td><{if $ac_info.a2 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc3_name.product_name!=''}><td><{if $ac_info.a3 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc4_name.product_name!=''}><td><{if $ac_info.a4 !=''}>★<{else}><{/if}></td><{/if}>
                                            </tr>
                                        </tbody>
                                   <{/if}>
                                   <{elseif $tc2_name.product_name!='' }>
                            	<{if $ac_info.a1 !='' && $ac_info.a2 !=''}>
                	
                                        <tbody>
                                            <tr>
                                            	<td><{$ac_info.big_name.big_name}></td>
                                                <td><{$ac_info.small_name.small_name}></td>
                                                 <td><{$ac_info.small_name.small_mean}></td>
                                                <td><{if $ac_info.a1 !=''}>★<{else}><{/if}></td>
                                                 <{if $tc2_name.product_name!=''}><td><{if $ac_info.a2 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc3_name.product_name!=''}><td><{if $ac_info.a3 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc4_name.product_name!=''}><td><{if $ac_info.a4 !=''}>★<{else}><{/if}></td><{/if}>
                                            </tr>
                                        </tbody>
                                   <{/if}>
                                   <{elseif $tc1_name.product_name!='' }>
                            	<{if $ac_info.a1 !=''}>
                	
                                        <tbody>
                                            <tr>
                                            	<td><{$ac_info.big_name.big_name}></td>
                                                <td><{$ac_info.small_name.small_name}></td>
                                                 <td><{$ac_info.small_name.small_mean}></td>
                                                <td><{if $ac_info.a1 !=''}>★<{else}><{/if}></td>
                                                 <{if $tc2_name.product_name!=''}><td><{if $ac_info.a2 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc3_name.product_name!=''}><td><{if $ac_info.a3 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc4_name.product_name!=''}><td><{if $ac_info.a4 !=''}>★<{else}><{/if}></td><{/if}>
                                            </tr>
                                        </tbody>
                                   <{/if}>
                                    <{/if}>
                                <{/foreach}>
                  </table>
                <table width="100%" class="table_gre" id="show_3" style="display:none;">
					<tr>
						<th width="40">中项名称</th>
						<th width="40">小项名称</th>
						<th width="40">检测意义</th>
						<th   width="30"><{$tc1_name.product_name}></th>
						<{if $tc2_name.product_name!=''}><th  width="30"><{$tc2_name.product_name}></th><{/if}>
						<{if $tc3_name.product_name!=''}><th  width="30"><{$tc3_name.product_name}></th><{/if}>
						<{if $tc4_name.product_name!=''}><th  width="30"><{$tc4_name.product_name}></th><{/if}>
					</tr>
				</thead>
                   <{foreach from=$rep_msg item=ac_info}>
                    <{if $tc4_name.product_name!='' && $tc3_name.product_name!='' && $tc2_name.product_name!=''  }>
                    <{if $ac_info.a1 =='' || $ac_info.a2 =='' || $ac_info.a3 =='' || $ac_info.a4 =='' }>
                                        <tbody>
                                            <tr>
                                            	<td><{$ac_info.big_name.big_name}></td>
                                                <td><{$ac_info.small_name.small_name}></td>
                                                 <td><{$ac_info.small_name.small_mean}></td>
                                                <td><{if $ac_info.a1 !=''}>★<{else}><{/if}></td>
                                                 <{if $tc2_name.product_name!=''}><td><{if $ac_info.a2 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc3_name.product_name!=''}><td><{if $ac_info.a3 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc4_name.product_name!=''}><td><{if $ac_info.a4 !=''}>★<{else}><{/if}></td><{/if}>
                                            </tr>
                                        </tbody>
                                      <{/if}>
                           <{elseif $tc3_name.product_name!='' && $tc2_name.product_name!='' }>  
                           	 <{if $ac_info.a1 =='' || $ac_info.a2 =='' || $ac_info.a3 =='' }>
                                        <tbody>
                                            <tr>
                                            	<td><{$ac_info.big_name.big_name}></td>
                                                <td><{$ac_info.small_name.small_name}></td>
                                                 <td><{$ac_info.small_name.small_mean}></td>
                                                <td><{if $ac_info.a1 !=''}>★<{else}><{/if}></td>
                                                 <{if $tc2_name.product_name!=''}><td><{if $ac_info.a2 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc3_name.product_name!=''}><td><{if $ac_info.a3 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc4_name.product_name!=''}><td><{if $ac_info.a4 !=''}>★<{else}><{/if}></td><{/if}>
                                            </tr>
                                        </tbody>
                                      <{/if}>  
                           <{elseif $tc2_name.product_name!='' }>  
                           	 <{if $ac_info.a1 =='' || $ac_info.a2 =='' }>
                                        <tbody>
                                            <tr>
                                            	<td><{$ac_info.big_name.big_name}></td>
                                                <td><{$ac_info.small_name.small_name}></td>
                                                 <td><{$ac_info.small_name.small_mean}></td>
                                                <td><{if $ac_info.a1 !=''}>★<{else}><{/if}></td>
                                                 <{if $tc2_name.product_name!=''}><td><{if $ac_info.a2 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc3_name.product_name!=''}><td><{if $ac_info.a3 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc4_name.product_name!=''}><td><{if $ac_info.a4 !=''}>★<{else}><{/if}></td><{/if}>
                                            </tr>
                                        </tbody>
                                      <{/if}>
                              <{elseif $tc1_name.product_name!=''  }>  
                           	 <{if $ac_info.a1 =='' }>
                                        <tbody>
                                            <tr>
                                            	<td><{$ac_info.big_name.big_name}></td>
                                                <td><{$ac_info.small_name.small_name}></td>
                                                 <td><{$ac_info.small_name.small_mean}></td>
                                                <td><{if $ac_info.a1 !=''}>★<{else}><{/if}></td>
                                                 <{if $tc2_name.product_name!=''}><td><{if $ac_info.a2 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc3_name.product_name!=''}><td><{if $ac_info.a3 !=''}>★<{else}><{/if}></td><{/if}>
                                                 <{if $tc4_name.product_name!=''}><td><{if $ac_info.a4 !=''}>★<{else}><{/if}></td><{/if}>
                                            </tr>
                                        </tbody>
                                      <{/if}>                      
                     <{/if}>
                                <{/foreach}>
					 </table>

			</table>
		</div>
	</div>
</div>

<{include file="../templates/$newtpl/foot.html"}>

<!--脚本如下-->
<script src="templates/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="templates/js/jquery.switchable2.min.js" type="text/javascript"></script>
<script src="templates/js/global.js" type="text/javascript"></script>

<script type="text/javascript">

	$('#slideBox .log_box').switchable({
		triggers: $('#slideBox .tab li a'),
		panels: '.tab_con',
		triggerType: 'click'
	});

 changelocation('<{$zid}>');
 $('#tid').val('<{$area_id}>');
</script>

</body>
</html>